<!DOCTYPE html>
<!--Ciallo～(∠・ω< )⌒★-->
<html>
<!--66666-->
<!--于巍 background-color: #f0f0f0;-->
	<head>
<<<<<<< .merge_file_1LYKaQ
<!--zyh-->
<!--		徐佳宁-->
=======
<!--saddddddddddddddddddddddddddddd-->
<!--		123-->
<!--321-->
		//小黑子褚绪
		//hhhhh
>>>>>>> .merge_file_KeaILD
		<meta charset="utf-8">
		<title>你好积极撒娇数据库少吃点gergdrgrgreggerggeregre</title>
		<title>你好</title>
<h1>杜杰</h1>
		//sdsdsds

		<style>
			/*666666*/
			/*此项目已被征服，我无敌你们随意*/

			lasjdflkjasld

			.button{
				background-color: #f0f0f0;
				border: #b7b7b7 1px solid;
				border-radius: 999999px;
				width: 50px;
				height: 50px;
				text-align: center;
				line-height: 50px;
				font-weight: bold;
			}
			.title{
				height: 25px;
			}
			#suan-shi{
				height: 25px;
				line-height: 25px;
				border-bottom: #000000 1px solid;
			}
			#jie-guo{
				height: 25px;
				line-height: 25px;
				border-bottom: #000000 1px solid;
			}

		</style>
	</head>
	<body>






	https://gitee.com/xu_zhong/fy24-java07-01-gitignore.git

<!--	张浩哲到此一游    -->
<!--//我在这-->
<p>张家庆留！！！！！！！！！！！！
	张家庆来了
</p>
//测试分区














		<table>
			<tr>
				<td colspan="4">
					<div class="title">算式：</div>
					<div id="suan-shi"></div>
				</td>
			</tr>
			<tr>
				<td colspan="4">
					<div class="title">结果：</div>
					<div id="jie-guo"></div>
				</td>
			</tr>
			<tr>
				<td><div class="button" onclick="onCButtonClick();">C</div></td>
				<td><div class="button" onclick="onCEButtonClick();">CE</div></td>
				<td colspan="2"></td>
			</tr>
			<tr>
				<td><div class="button" onclick="onButtonClick()">1</div></td>
				<td><div class="button" onclick="onButtonClick()">2</div></td>
				<td><div class="button" onclick="onButtonClick()">3</div></td>
				<td><div class="button" onclick="onButtonClick()">+</div></td>
			</tr>
			<tr>
				<td><div class="button" onclick="onButtonClick()">4</div></td>
				<td><div class="button" onclick="onButtonClick()">5</div></td>
				<td><div class="button" onclick="onButtonClick()">6</div></td>
				<td><div class="button" onclick="onButtonClick()">-</div></td>
			</tr>
			<tr>
				<td><div class="button" onclick="onButtonClick()">7</div></td>
				<td><div class="button" onclick="onButtonClick()">8</div></td>
				<td><div class="button" onclick="onButtonClick()">9</div></td>
				<td><div class="button" onclick="onButtonClick()">*</div></td>
			</tr>
			<tr>
				<td><div class="button" onclick="onButtonClick()">/</div></td>
				<td><div class="button" onclick="onButtonClick()">0</div></td>
				<td><div class="button" onclick="onButtonClick()">.</div></td>
				<td><div class="button" onclick="return onResultClick();">=</div></td>
			</tr>
		</table>
	</body>
</html>

<script>
	let result=new Array();
	function onCButtonClick(){
		result=new Array();
		document.getElementById("suan-shi").innerHTML=result.join("");
	}
	function onCEButtonClick(){
		result.pop();
		document.getElementById("suan-shi").innerHTML=result.join("");
	}
	
	function onButtonClick(){
		let r=window.event.target.innerHTML;
		result.push(r);
		document.getElementById("suan-shi").innerHTML=result.join("");
	}
	
	function onResultClick(){
		let r=eval(result.join(""));
		document.getElementById("jie-guo").innerHTML=r;
		return false;
	}
	
</script>